package com.system.FinancialDepartment.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.system.FinancialDepartment.entity.Performance;

public interface IPerformanceService {

	public void saveOrUpdate(Performance performance);
	public void delete(Performance performance);
	public Performance findOne(Long id);
	public List<Performance> findAll();
	
	//自定义查询，传参
   	public int saveOrUpdate(Long id,Long empId,Long totalscore,Long wage);
	public int deletePerformances(Long[] ids);
	
	//自定义分页查询
	public Page<Performance> findAll(Long empId,Pageable pageable);
	
	//动态条件查询
	//public Page<Employee> findAll(Specification<Employee> spec, Pageable pageable);
	
}
